#include "endgame.h"
#include "ui_endgame.h"

endgame::endgame(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::endgame)
{
    ui->setupUi(this);
    en=new Widget;
    connect(ui->queding,&QPushButton::clicked,[=](){
            this->hide();
            en->show();
        });
}

endgame::~endgame()
{
    delete ui;
}


void endgame::on_quxiao_clicked()
{
    this->close();
}
